import request from '@/utils/queryUtils'

// 登录方法
export function login(username, password, uuid, code) {
    const data = {
        username,
        password,
        uuid,
        code
    }
    return request("/system/login/pwd", "post", data);
}

// 退出登录
export function loginOut(){
    return request("/logout","get");
}

// 获取登录用户信息
export function loginInfo(){
    return request("/system/user/loginUserInfo","get");
}